import request from "@/utils/request";

export function getList(query) {
  return request({
    url: "/wflow/process/intervene/queryProcessIntervene",
    method: "post",
    data: query,
  });
}

export function stopProcess(data) {
  return request({
    url: "/wflow/process/intervene/stopProcess",
    method: "post",
    data,
  });
}

export function getDept(data) {
  return request({
    url: "/system/dept/deptList",
    method: "post",
    data,
  });
}
